package com.example.tianling.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "material_collections")
public class MaterialCollectionsEntity {
    @TableId(value = "collection_id",type = IdType.AUTO)
    private Integer collectionId;

    private Integer material_id;

    private Integer userId;

    private Date collectionTime;

}
